mem_protect: Add DRAM2 to the list of mem protected ranges
authorRoberto Vargas <roberto.vargas@arm.com>
Tue, 8 Aug 2017 10:27:20 +0000 (11:27 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Mon, 25 Sep 2017 12:32:20 +0000 (13:32 +0100)
commitb09ba056c4203a3fcca78675aa3de257023b7d70
tree870f31a821c17f5cd24cba24d15ea17a11231029
parentf145403c2a1a7064cb55670ac0674dc6586398ab
mem_protect: Add DRAM2 to the list of mem protected ranges

On ARM platforms, the maximum size of the address space is limited
to 32-bits as defined in arm_def.h. In order to access DRAM2, which
is defined beyond the 32-bit address space, the maximum address space
is increased to 36-bits in AArch64. It is possible to increase the
virtual space for AArch32, but it is more difficult and not supported
for now.

NOTE - the actual maximum memory address space is platform dependent
and is checked at run-time by querying the PARange field in the
ID_AA64MMFR0_EL1 register.

Change-Id: I6cb05c78a63b1fed96db9a9773faca04a5b93d67
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
include/plat/arm/common/arm_def.h
plat/arm/board/common/board_css_common.c
plat/arm/board/fvp/fvp_common.c
plat/arm/board/juno/include/platform_def.h
plat/arm/common/arm_nor_psci_mem_protect.c